package com.my.app.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by YJH on 2017/7/14 17:25.
 */
public class FileUploadAppProperties {

    private FileUploadAppProperties() {
    }

    private Map<String, String> mapProperties = new HashMap<>();

    private static FileUploadAppProperties instance = new FileUploadAppProperties();

    public static FileUploadAppProperties getInstance() {
        return instance;
    }

    public void addProperty(String propertyName, String propertyValue) {
        mapProperties.put(propertyName, propertyValue);
    }

    public String getProperty(String propertyName) {
        return mapProperties.get(propertyName);
    }
}
